package com.drama.api.sys.dramas.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class SysDramasSearchVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "商户名称【模糊搜索】")
    private String companyName;
    @ApiModelProperty(value = "剧目Id【模糊搜索】")
    private String dramaId;
    @ApiModelProperty(value = "剧目编号【模糊搜索】")
    private String dramaRef;
    @ApiModelProperty(value = "剧目名称【模糊搜索】")
    private String dramaName;
    @ApiModelProperty(value = "剧目状态(1 待审核 3待注入备案号  5待确认上线 7 已上线  8 已下线)")
    private Integer dramaState;

    @ApiModelProperty(value = "页数")
    private Integer pageNum;
    @ApiModelProperty(value = "每页行数")
    private Integer pageSize;

    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 10;
        }
        return pageSize;
    }

}